Ticket #8971: test_live_cancel_different_script2 .py

File test_live_cancel_different_script2 .py, 267 bytes (added by Martyn Gigg, 7 years ago)
Line 
1from mantid import AlgorithmManager
2#
3# Pairs with test_live_cancel_different_script1. This script grabs the running MonitorLiveData
4# algorithm and cancels it
5#
6
7monitor_alg = AlgorithmManager.newestInstanceOf("MonitorLiveData")
8# request cancel
9monitor_alg.cancel()